<!-- 培养方案管理详情 -->
<template>
  <div class="assessment-edit-plan-container">
    <div class="my-form-container" style="width:100%;margin-top:0;height: 100%">
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">名称</div>
          <div class="my-form-item-value">{{ tablelist.mc }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">版本</div>
          <div class="my-form-item-value">{{ tablelist.bb }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">适用专业</div>
          <div class="my-form-item-value">{{ tablelist.syzy }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">人才培养方案分类</div>
          <div class="my-form-item-value">{{ tablelist.pyfafl }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="24">
          <div class="my-form-item-label">额定总学分</div>
          <div class="my-form-item-value">{{ tablelist.edzxf }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">必修课额定学分</div>
          <div class="my-form-item-value">{{ tablelist.bxkedxf }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">选修课额定学分</div>
          <div class="my-form-item-value">{{ tablelist.xxkedxf }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">自修课额定学分</div>
          <div class="my-form-item-value">{{ tablelist.zxkedxf }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">讲座课额定学分</div>
          <div class="my-form-item-value">{{ tablelist.jzkedxf }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="12">
          <div class="my-form-item-label">实践教学额定学分</div>
          <div class="my-form-item-value">{{ tablelist.sjjxedxf }}</div>
        </el-col>
        <el-col :span="12">
          <div class="my-form-item-label">教育训练额定学分</div>
          <div class="my-form-item-value">{{ tablelist.jyxledxf }}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item">
        <el-col :span="24" style="display: flex; align-items: center">
          <div class="my-form-item-label">附件</div>
          <!-- <div class="my-form-item-value">{{ JSON.stringify(tablelist.fj).split(";")[1] }}</div> -->
          <div class="my-form-item-value">{{ tablelist.fj ? tablelist.fj.split(";")[1] : ''}}</div>
        </el-col>
      </el-row>
      <el-row class="my-form-item" style="height: 100px">
        <el-col :span="24">
          <div class="my-form-item-label">备注</div>
          <div class="my-form-item-value">{{ tablelist.sm }}</div>
        </el-col>
      </el-row>
    </div>
    <!-- 下表格 -->
    <div>
      <template>
        <el-tabs v-model="activeName" @tab-click="handleClick">
          <el-tab-pane label="分类视图" name="first">
            <div class="my-form-boder" style="height: 100%">
              <span
                style="
                  width: 174px;
                  font-weight: bold;
                  line-height: 20px;
                  color: #004ca7;
                "
                >{{topType}}</span
              >
              <div class="my-border-container" style="margin-top: 20px">
                <el-tree
                    ref="treeData"
                  :data="setTree"
                  :props="defaultProps"
                  default-expand-all="true"
                  :current-node-key="currentLivingId"
                  @node-click="handleNodeClick"
                  node-key="id"
                ></el-tree>
                <div style="color:#004CA7;font-weight:600;margin: 15px 40px">
                  额定学分：<span class="middInfo">{{edxf}}</span>
                  额定学时：<span class="middInfo">{{edxs}}</span>
                  已设定课程学分：必修：<span style="margin-right:80px">{{xuefen}}</span>选修：<span>{{xxxuefen}}</span>
                </div>
                <el-table
                  :data="tableData"
                  style="width: 95%;margin:30px auto"
                  :show-overflow-tooltip="true"
                  class="xpaas-table-class"
                  row-class-name="xpaas-row-class"
                  cell-class-name="xpaas-cell-class"
                  header-row-class-name="xpaas-header-row-class"
                  header-cell-class-name="xpaas-header-cell-class"
                >
                  >
                  <el-table-column
                    prop="kcph"
                    align="center"
                    label="课程编号(名称)"
                  >
                    <template slot-scope="scope">
                      {{ scope.row.kcph }}【{{ scope.row.coursename }}】
                    </template>
                  </el-table-column>
                  <el-table-column prop="xuefen" align="center" label="学分">
                  </el-table-column>
                  <el-table-column prop="xxlx" align="center" label="修习类型">
                  </el-table-column>
                  <el-table-column prop="khfs" align="center" label="考核方式">
                  </el-table-column>
                  <el-table-column prop="xnxq" align="center" label="学年（学期）">
                    <template slot-scope="scope">
                      {{ scope.row.xnxq }}【{{ scope.row.season }}】
                    </template>
                  </el-table-column>
                  <el-table-column prop="xuehour" align="center" label="学时（门数）">
                    <template slot-scope="scope">
                      {{ scope.row.xuehour }}【{{ scope.row.menshu }}】
                    </template>
                  </el-table-column>
                  <el-table-column prop="qtkkkxq" align="center" label="其他可开课学期"></el-table-column>
                </el-table>
                <el-table
                  :data="yearTable"
                  style="width: 95%;margin: 20px auto"
                  class="xpaas-table-class"
                  row-class-name="xpaas-row-class"
                  cell-class-name="xpaas-cell-class"
                  header-row-class-name="xpaas-header-row-class"
                  header-cell-class-name="xpaas-header-cell-class"
                  :span-method="objectSpanMethod"
                >
                  <el-table-column prop="" align="center" label="">
                    <template slot-scope="scope">
                      总计：学时（门数）
                    </template>
                  </el-table-column>
                  <!-- <el-table-column prop="year" align="center" width="120" v-for="(item,index) in xnList"
                      :key="index"
                      :label="item"
                      :value="item">
                  </el-table-column> -->
                  <el-table-column prop="year" align="center" label="学年">
                  </el-table-column>
                  <el-table-column prop="season" align="center" label="学期">
                  </el-table-column>
                  <el-table-column prop="classHours" align="center" label="总学时">
                    <template slot-scope="scope">
                      {{ scope.row.classHours }}【{{ scope.row.numbers }}】
                    </template>
                  </el-table-column>
                </el-table>
              </div>
            </div>
          </el-tab-pane>
          <!-- 学期试图 -->
          <el-tab-pane label="学期视图" name="second">
            <div class="my-form-boder" style="height: 100%">
              <span
                style="
                  width: 174px;
                  font-weight: bold;
                  line-height: 20px;
                  color: #004ca7;
                "
                >{{topType}}</span
              >
              <div class="my-border-container" style="margin-top: 20px">
                <div class="my-form-container" style="width:100%;height: 100%;border:none">
                    <!-- <div slot="header" class="clearfix">
                      <div style="
                          color: #004ca7;
                          line-height: 79px;
                          margin-left: 20px;
                        ">第一学年 秋季学期</div>
                      <div
                        style="
                          width:200px;
                          color: #004ca7;
                          line-height: 79px;
                          margin: 0 auto;
                        "
                      >
                        学时（门数）：20【9】
                      </div>
                    </div> -->
                  <el-table
                    :data="tableDataView"
                    :span-method="arraySpanMethod"
                    style="width: 95%;margin:0 auto"
                    class="xpaas-table-class"
                    row-class-name="xpaas-row-class"
                    cell-class-name="xpaas-cell-class"
                    header-row-class-name="xpaas-header-row-class"
                    header-cell-class-name="xpaas-header-cell-class"
                  >
                    <el-table-column prop="xuehour" align="center" label="">
                      <template slot-scope="scope">
                      {{ scope.row.xnxq }}（{{ scope.row.season }}）
                    </template>
                    </el-table-column>
                    <el-table-column
                      prop="kcph"
                      align="center"
                      label=" 课程编号(名称)"
                    >
                    <template slot-scope="scope">
                      {{ scope.row.kcph }}（{{ scope.row.coursename }}）
                    </template>
                    </el-table-column>
                    <el-table-column prop="xuefen" align="center" label=" 学分">
                    </el-table-column>
                    <el-table-column prop="xuehour" align="center" label=" 总学时">
                    </el-table-column>
                    <el-table-column
                      prop="xxlx"
                      align="center"
                      label=" 修习类型"
                    >
                    </el-table-column>
                    <el-table-column
                      prop="khfs"
                      align="center"
                      label=" 考核方式"
                    >
                    </el-table-column>
                    <el-table-column
                      prop="kctypename"
                      align="center"
                      label=" 课程分类"
                    >
                    </el-table-column>
                    <el-table-column
                      prop="qtkkkxq"
                      align="center"
                      label=" 其他可开课学期"
                    >
                    </el-table-column>
                  </el-table>
                </div>
              </div>
              <div></div>
            </div>
          </el-tab-pane>
        </el-tabs>
      </template>
    </div>
    <div class="button-group">
      <div @click="cancel">
        <div>关 闭</div>
      </div>
    </div>
  </div>
</template>

<script>
import {  setCourse,termView } from "@/api/propositionReview/approval";
export default {
  data() {
    return {
      tableDataView:[],
      clickTreeData:[],
      setTree:[],//树形分类
      tableData:[],
      yearTable: [],
      defaultProps: {
        children: "children",
        label: "name",
      },
      tablelist:{},
      activeName: "first",
      syzy: "",
      kcfl: "",
      showYprDialog: false,
      fileName: "",
      syzyList: [],
      kcflList: [],
      // getSpanArr方法中需要用到的两个属性
      spanArr:[],
      pos:0,
      viewArr:[],
      vos:0,
      topType:'',
    };
  },
  mounted() {
    this.tablelist = JSON.parse(localStorage.getItem('setDetails'));
    this.initData();
    this.getSpanArr();
    this.getViewArr()
  },
  methods: {
    //分类视图 --- 学时门数
    getSpanArr() {
      let id = this.tablelist.id;
      let data = [];
      setCourse(id).then(res=>{
        if(res.data.code == 200){
          data = res.data.data.classHours;
          for (var i = 0; i < data.length; i++) {
            if (i === 0) {
              this.spanArr.push(1);
              this.pos = 0;
            } else {
              if (data[i].year === data[i - 1].year) {
                this.spanArr[this.pos] += 1;
                this.spanArr.push(0);
              } else {
                this.spanArr.push(1);
                this.pos = i;
              }
            }
          }
        }
      })
    },
    objectSpanMethod({ row, column, rowIndex, columnIndex }) {
      if (columnIndex === 0) {
        if (rowIndex % this.yearTable.length === 0) {
          return {
            rowspan: this.yearTable.length,
            colspan: 1,
          };
        } else {
          return {
            rowspan: 0,
            colspan: 0,
          };
        }
      }
      if (columnIndex === 1) {
        const _row = this.spanArr[rowIndex];
        const _col = _row > 0 ? 1 : 0;
        return {
          rowspan: _row,
          colspan: _col,
        };
      }
    },
    //学期试图 --- 学年学期
    getViewArr() {
      let id = this.tablelist.id;
      let data = [];
      termView(id).then(res=>{
        if(res.data.code == 200){
          data = res.data.data.trainingProgramCourses;
          for (var i = 0; i < data.length; i++) {
            if (i === 0) {
              this.viewArr.push(1);
              this.vos = 0;
            } else {
              if (data[i].xnxq === data[i - 1].xnxq && data[i].season === data[i - 1].season) {
                this.viewArr[this.vos] += 1;
                this.viewArr.push(0);
              } else {
                this.viewArr.push(1);
                this.vos = i;
              }
            }
          }
        }
      })
    },
    arraySpanMethod({ row, column, rowIndex, columnIndex }) {
      if (columnIndex === 0) {
        const _row = this.viewArr[rowIndex];
        const _col = _row > 0 ? 1 : 0;
        return {
          rowspan: _row,
          colspan: _col,
        };
      }
    },
    initData(){
      let id = this.tablelist.id;
      setCourse(id).then(res=>{
        // const data = this.clickTreeData = res.data.data.courseTypeVOList;
        const data = this.clickTreeData = res.data.data.courseTypeVOList.length > 0 ? res.data.data.courseTypeVOList[0].childCategory : [];
        this.topType = res.data.data.courseTypeVOList.length > 0 ? res.data.data.courseTypeVOList[0].flmc: ''; 
        this.yearTable = res.data.data.classHours.length > 0 ? res.data.data.classHours : []; 
        this.initList = res.data.data;
        this.initList.fj = this.initList.fj.split(';')[1];
        this.$nextTick(() => {
       		this.$refs.treeData.setCurrentKey(data[0].id);
        });
        data.forEach(k => {
          this.setTree.push({
            id: k.id,
            name: k.flmc,
            children: this.getListChild(k.childCategory),
            disabled:false
          });
          this.tableData = [];
          this.tableData = data[0].trainingProgramCourses;
          if(data[0].trainingProgramCourses.length > 0){
            data[0].trainingProgramCoursess.forEach(item=>{
              this.edxf = item.edxf;
              this.edxs = item.edxs;
              item.xxlx == '必修' ? this.xuefen = item.xuefen : this.xxxuefen = item.xuefen;
            })
          } else {
            this.edxf = this.edxs = this.xuefen = this.xxxuefen = '';
          }
        })
      })
    },
    //获取树形子级节点
    getListChild(data) {
      let tree =[];
      if(data.length){
        data.forEach(k => {
          tree.push({
            id: k.id,
            name: k.flmc,
            children:this.getListChild(k.childCategory)
          })
        })
      }
      return tree
    },
    cancel(){
      this.$router.push({
        path: "/admin/training/trainings", //要跳转的页面的路由
      });
    },
    //点击标签页
    handleClick(tab, event) {
      let id = this.tablelist.id;
      if(tab.index == 1){
        termView(id).then(res=>{
          if(res.data.code == 200){
            this.tableDataView = res.data.data.trainingProgramCourses;
          }
        })
      }
    },
    //点击子级节点事件
    handleNodeClick(event){
      let arrXx = [];
      let arrBx = [];
      this.clickTreeData.forEach(item=>{
        if(item.id == event.id){
          this.tableData = [];
          this.tableData = item.trainingProgramCourses;
          if(this.tableData.length > 0){
            this.tableData.forEach(item=>{
              this.edxf = item.edxf;
              this.edxs = item.edxs;
              if(item.xxlx == '选修'){
                arrXx.push(item.xuefen);
                this.xxxuefen = eval(arrXx.join('+'));
              } else if (item.xxlx == '必修'){
                arrBx.push(item.xuefen);
                this.xuefen = eval(arrBx.join('+'));
              }
            })
          } else {
            this.edxf = this.edxs = this.xuefen = this.xxxuefen = '';
          }
        } else {
           this.forTableData(event.id,item.childCategory)
        }
      })
    },
    //循环接口数据（根据点击子级id）
    forTableData(id,res){
      let arrXx = [];
      let arrBx = [];
      res.forEach(item=>{
        if(item.id == id){
          this.tableData = [];
          this.tableData = item.trainingProgramCourses;
          if(this.tableData.length > 0){
            this.tableData.forEach(item=>{
              this.edxf = item.edxf;
              this.edxs = item.edxs;
              if(item.xxlx == '选修'){
                arrXx.push(item.xuefen);
                this.xxxuefen = eval(arrXx.join('+'));
              } else if (item.xxlx == '必修'){
                arrBx.push(item.xuefen);
                this.xuefen = eval(arrBx.join('+'));
              }
            })
          } else {
            this.edxf = this.edxs = this.xuefen = this.xxxuefen = '';
          }
        } else {
          this.forTableData(id,item.childCategory)
        }
      })
    },
  },
};
</script>
<style lang="less" scoped>

.el-tooltip__popper{
  max-width:20%;
}
.el-tree{
  // color: rgb(0, 76, 167);
  position: relative;
  cursor: default;
  background: #FFF;
  font-weight: 600;
}
.middInfo {
  margin-right: 200px;
}
// /deep/.el-table th, .el-table tr{
//   background-color: #4D81C0 !important;
// }
/deep/.el-table th,
.el-table tr {
  color: #004ca7;
}
.table-data {
  width: 100%;
  border: 0.8px solid #004ca7;
  border-radius: 9px;
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #004ca7;
}
/deep/.el-tabs {
  width: 100%;
  margin: 0 auto;
}
/deep/.el-input__inner {
  border: none;
}
.bk {
  /deep/ .el-input__inner {
    border-radius: 4px;
    border: 1px solid #004ca7;
  }
}
.zyjs {
  width: 30% !important;
  margin-left: 40px !important;
  /deep/ .el-input__inner {
    height: 70px !important;
    border-radius: 4px;
    border: 1px solid #004ca7;
  }
}
.el-input {
  width: 26%;
  display: flex;
  align-items: center;
  margin-left: 40px;
}
.my-form-item {
  height: 80px;
}
.el-date-editor {
  width: 38%;
}
.choose-ypr-container {
  width: 100%;
  margin: 0px auto;

  .choose-ypr-search-container {
    .el-input--prefix .el-input__inner {
      padding-left: 30px;
    }

    .el-input__inner {
      &::placeholder {
        color: #b8b8b8;
      }

      &::-webkit-input-placeholder {
        /* WebKit browsers 适配谷歌 */
        color: #b8b8b8;
      }

      &:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 适配火狐 */
        color: #b8b8b8;
      }

      &::-moz-placeholder {
        /* Mozilla Firefox 19+ 适配火狐 */
        color: #b8b8b8;
      }

      &:-ms-input-placeholder {
        /* Internet Explorer 10+  适配ie*/
        color: #b8b8b8;
      }
    }

    display: flex;
    flex-direction: row;
    align-items: center;

    .title {
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
      margin-right: 5px;
    }

    .search-button {
      width: 77px;
      height: 28px;
      line-height: 28px;
      background: #f1f8fe;
      border: 1px solid #51aef6;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      > span {
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #51aef6;
      }

      > img {
        width: 20px;
        height: 20px;
        margin-right: 4px;
      }
    }

    .button-list {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-left: 21px;

      .button-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 69px;
        height: 27px;
        line-height: 27px;
        border: 1px solid #004ca7;
        border-radius: 4px;
        margin-right: 10px;
        text-align: center;
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #004ca7;

        .del-icon {
          position: absolute;
          right: 0px;
          top: 0px;
          width: 12px;
          height: 12px;
          padding: 2px;
        }
      }
    }
  }

  .choose-ypr-container .choose-ypr-table-container .el-table__header th {
    padding: 0;
    height: 57px;
    background-color: #edf2f9;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004ca7;
  }

  /deep/ .el-table .cell {
    color: #004ca7;
  }

  .choose-ypr-table-container {
    margin-top: 30px;

    .el-table td,
    .el-table th.is-leaf,
    .el-table--border,
    .el-table--group {
      border-color: #c7d7eb;
    }

    .el-table__header tr,
    .el-table__header th {
      padding: 0;
      height: 57px;
      background-color: #edf2f9;
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
    }

    .el-table__body tr,
    .el-table__body td {
      padding: 0;
      height: 51px;
    }

    .table-data {
      width: 100%;
      border: 0.8px solid #004ca7;
      border-radius: 9px;
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #004ca7;
    }
  }
}

.assessment-container {
  .el-dialog__body {
    height: 251px;
  }

  .el-dialog__footer {
    padding: 10px 20px 45px;
  }

  .el-checkbox__inner:hover {
    border-color: #004ca7;
  }

  .el-checkbox__inner {
    border: 1px solid #004ca7;
    border-radius: 0;
    height: 18px;
    width: 18px;
  }

  .el-checkbox__inner::after {
    height: 10px;
    left: 6px;
  }

  .el-checkbox__input.is-checked .el-checkbox__inner,
  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #004ca7;
    border-color: #004ca7;
  }

  .el-checkbox__input.is-checked + .el-checkbox__label {
    color: #004ca7;
  }

  .el-checkbox.is-bordered.is-checked {
    border-color: #004ca7;
  }

  .el-checkbox__input.is-focus .el-checkbox__inner {
    border-color: #004ca7;
  }
}

.cz-save {
  box-sizing: border-box;
  line-height: 44px;
  border-radius: 4px;
  font-size: 12px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  text-align: center;
  margin-top: 70px;
  margin-left: 40px;
  display: flex;
  flex-direction: row;
  cursor: pointer;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.jf-save {
  display: flex;
  align-items: center;
  margin-left: 48px;
}

.fileClass {
  position: relative;
  cursor: pointer;

  .save {
    width: 120px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    color: #fff;
    background: #303133;
  }
}

.my-form-item-value {
  font-size: 16px;
  color: #004ca7;
  height: 100%;
  flex: 1;
  line-height: 60px;
  padding-left: 38px;
  display: flex;
  align-items: center;
}

.assessment-edit-plan-container {
  .assessment-design {
    .el-textarea__inner {
      resize: none;
      font-size: 16px;
      color: rgba(0, 76, 167, 1);
    }
  }
}
.my-border-container {
  height: 100%;
  border: 1px solid #004ca7;
  opacity: 0.8;
  border-radius: 5px;
}
</style>
<style scoped lang="less">
.assessment-edit-plan-container {
  .assessment-design {
    padding: 25px 38px !important;
  }

  .button-group {
    cursor: pointer;
    margin: 50px 0;
    text-align: center;

    > div {
      display: inline-block;
      font-size: 18px;
      padding: 6px 22px;
      border-radius: 6px;

      &:nth-child(1) {
        color: #f3b815;
        border: 1px solid #f3b815;
        background: #fff6ef;
        // margin-right: 139px;
      }

      &:nth-child(2) {
        color: #ff3819;
        border: 1px solid #ff3819;
        background: #ffefef;
      }
    }
  }
}
@fontFamily:"Microsoft YaHei";
.xpaas-table-class {
  border: 1px solid #004ca7;
  border-radius: 9px;
  > ::v-deep div.el-table__header-wrapper {
    > table.el-table__header {
      > thead {
        > tr.xpaas-header-row-class {
          padding: 0;
          height: 76px;
          background-color: #edf2f9;
          font-size: 16px;
          font-family: Microsoft YaHei;
          font-weight: bold;
          line-height: 20px;
          color: #004ca7;
          > th.xpaas-header-cell-class {
            font-weight: bold;
            border-right: 1px solid #c7d7eb;
            border-left: 0;
            border-bottom: 1px solid #c7d7eb;
            background-color: #edf2f9;
            > div.cell {
              font-size: 16px;
              font-weight: bold;
              font-family: @fontFamily;
              color: #004ca7;
            }
          }
        }
      }
    }
  }
  > ::v-deep div.el-table__body-wrapper {
    > table.el-table__body {
      > tbody {
        > tr.xpaas-row-class {
          > td.xpaas-header-cell-class {
            border-right: 1px solid #c7d7eb;
            border-left: 0;
            border-bottom: 1px solid #c7d7eb;
            background-color: #edf2f9;
            > div.cell {
              font-size: 16px;
              font-weight: bold;
              font-family: @fontFamily;
              color: #004ca7;
            }
          }
          > td.xpaas-cell-class {
            height: 76px;
            
            border-right: 1px solid #c7d7eb;
            border-left: 0;
            border-bottom: 1px solid #c7d7eb;
            > div.cell {
              font-weight: normal;
              font-family: @fontFamily;
              color: #004ca7;
            }
          }
        }
      }
    }
  }
}
</style>
